package com.clayecloud.common.client.controller;

import com.clayecloud.common.annotation.NoAuthorization;
import com.clayecloud.common.client.services.HouseOrderService;
import com.clayecloud.common.utils.MessageUtil;
import com.clayecloud.common.utils.StringUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.models.auth.In;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author ClayeLink
 * @date 2022/4/8 1:28
 */
@RestController
@RequestMapping("/houseOrder")
@Api(tags = "房屋账单模块")
public class ClientHouseOrderController {

    @Resource
    private HouseOrderService houseOrderService;

    @GetMapping("/orderlist")
    @ApiOperation("查询用户未缴费账单")
    public MessageUtil selectByUserID(Integer userID){
        return houseOrderService.selectByUserID(userID);
    }


}
